<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
<script language="javascript">
function saveRecord(){
	if (!validate()){
		return;
	}
	showSplash();
	postRequest('form1',{actionType:'save',onComplete:function(responseText){
		if (responseText == 'success'){
			hideSplash();
			parent.PopupBox.closeCurrent();
			parent.refreshPage();
		}
	}});
}
</script>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
<%@include file="/jsp/inc/message.inc.jsp"%>
<div id="__ParamBar__" style="float: right;">&nbsp;</div>
<div id="__ToolBar__">
<table border="0" cellpadding="0" cellspacing="1">
<tr>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="enableSave()" ><input value="&nbsp;" type="button" class="editImgBtn" id="modifyImgBtn" title="编辑" />编辑</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="saveRecord()"><input value="&nbsp;" type="button" class="saveImgBtn" id="saveImgBtn" title="保存" />保存</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" align="center" onclick="parent.PopupBox.closeCurrent();"><input value="&nbsp;" type="button" class="closeImgBtn" title="关闭" />关闭</td>
</tr>
</table>
</div>
<table class="detailTable" cellspacing="0" cellpadding="0">
<tr>
	<th width="100" nowrap>CUST_INDUSTRY</th>
	<td><input id="CUST_INDUSTRY" label="CUST_INDUSTRY" name="CUST_INDUSTRY" type="text" value="<%=pageBean.inputValue("CUST_INDUSTRY")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_PROVINCE</th>
	<td><input id="CUST_PROVINCE" label="CUST_PROVINCE" name="CUST_PROVINCE" type="text" value="<%=pageBean.inputValue("CUST_PROVINCE")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_CITY</th>
	<td><input id="CUST_CITY" label="CUST_CITY" name="CUST_CITY" type="text" value="<%=pageBean.inputValue("CUST_CITY")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_ADDRESS</th>
	<td><input id="CUST_ADDRESS" label="CUST_ADDRESS" name="CUST_ADDRESS" type="text" value="<%=pageBean.inputValue("CUST_ADDRESS")%>" size="65" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_SCALE</th>
	<td><input id="CUST_SCALE" label="CUST_SCALE" name="CUST_SCALE" type="text" value="<%=pageBean.inputValue("CUST_SCALE")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_NATURE</th>
	<td><input id="CUST_NATURE" label="CUST_NATURE" name="CUST_NATURE" type="text" value="<%=pageBean.inputValue("CUST_NATURE")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_INTRODUCE</th>
	<td><input id="CUST_INTRODUCE" label="CUST_INTRODUCE" name="CUST_INTRODUCE" type="text" value="<%=pageBean.inputValue("CUST_INTRODUCE")%>" size="65" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_STATE</th>
	<td><input id="CUST_STATE" label="CUST_STATE" name="CUST_STATE" type="text" value="<%=pageBean.inputValue("CUST_STATE")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_CREATE_ID</th>
	<td><input id="CUST_CREATE_ID" label="CUST_CREATE_ID" name="CUST_CREATE_ID" type="text" value="<%=pageBean.inputValue("CUST_CREATE_ID")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_CREATE_TIME</th>
	<td><input id="CUST_CREATE_TIME" label="CUST_CREATE_TIME" name="CUST_CREATE_TIME" type="text" value="<%=pageBean.inputTime("CUST_CREATE_TIME")%>" size="24" class="text" /><img id="CUST_CREATE_TIMEPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_SUBMIT_ID</th>
	<td><input id="CUST_SUBMIT_ID" label="CUST_SUBMIT_ID" name="CUST_SUBMIT_ID" type="text" value="<%=pageBean.inputValue("CUST_SUBMIT_ID")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_SUBMIT_TIME</th>
	<td><input id="CUST_SUBMIT_TIME" label="CUST_SUBMIT_TIME" name="CUST_SUBMIT_TIME" type="text" value="<%=pageBean.inputTime("CUST_SUBMIT_TIME")%>" size="24" class="text" /><img id="CUST_SUBMIT_TIMEPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_CONFIRM_ID</th>
	<td><input id="CUST_CONFIRM_ID" label="CUST_CONFIRM_ID" name="CUST_CONFIRM_ID" type="text" value="<%=pageBean.inputValue("CUST_CONFIRM_ID")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_CONFIRM_TIME</th>
	<td><input id="CUST_CONFIRM_TIME" label="CUST_CONFIRM_TIME" name="CUST_CONFIRM_TIME" type="text" value="<%=pageBean.inputTime("CUST_CONFIRM_TIME")%>" size="24" class="text" /><img id="CUST_CONFIRM_TIMEPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_PROGRESS_STATE</th>
	<td><input id="CUST_PROGRESS_STATE" label="CUST_PROGRESS_STATE" name="CUST_PROGRESS_STATE" type="text" value="<%=pageBean.inputValue("CUST_PROGRESS_STATE")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_LEVEL</th>
	<td><input id="CUST_LEVEL" label="CUST_LEVEL" name="CUST_LEVEL" type="text" value="<%=pageBean.inputValue("CUST_LEVEL")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_COMPANY_WEB</th>
	<td><input id="CUST_COMPANY_WEB" label="CUST_COMPANY_WEB" name="CUST_COMPANY_WEB" type="text" value="<%=pageBean.inputValue("CUST_COMPANY_WEB")%>" size="65" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>ORG_ID</th>
	<td><input id="ORG_ID" label="ORG_ID" name="ORG_ID" type="text" value="<%=pageBean.inputValue("ORG_ID")%>" size="24" class="text" />
</td>
</tr>
<tr>
	<th width="100" nowrap>CUST_VISIT_AGAIN_TIME</th>
	<td><input id="CUST_VISIT_AGAIN_TIME" label="CUST_VISIT_AGAIN_TIME" name="CUST_VISIT_AGAIN_TIME" type="text" value="<%=pageBean.inputTime("CUST_VISIT_AGAIN_TIME")%>" size="24" class="text" /><img id="CUST_VISIT_AGAIN_TIMEPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" />
</td>
</tr>
</table>
<input type="hidden" name="actionType" id="actionType" value=""/>
<input type="hidden" name="operaType" id="operaType" value="<%=pageBean.getOperaType()%>"/>
<input type="hidden" id="CUST_ID" name="CUST_ID" value="<%=pageBean.inputValue4DetailOrUpdate("CUST_ID","")%>" />
<input type="hidden" id="CUST_NAME" name="CUST_NAME" value="<%=pageBean.inputValue("CUST_NAME")%>" />
</form>
<script language="javascript">
initCalendar('CUST_CREATE_TIME','%Y-%m-%d %H:%M','CUST_CREATE_TIMEPicker');
initCalendar('CUST_SUBMIT_TIME','%Y-%m-%d %H:%M','CUST_SUBMIT_TIMEPicker');
initCalendar('CUST_CONFIRM_TIME','%Y-%m-%d %H:%M','CUST_CONFIRM_TIMEPicker');
initCalendar('CUST_VISIT_AGAIN_TIME','%Y-%m-%d %H:%M','CUST_VISIT_AGAIN_TIMEPicker');
datetimeValidators[0].set("yyyy-MM-dd HH:mm").add("CUST_CREATE_TIME");
datetimeValidators[1].set("yyyy-MM-dd HH:mm").add("CUST_SUBMIT_TIME");
datetimeValidators[2].set("yyyy-MM-dd HH:mm").add("CUST_CONFIRM_TIME");
datetimeValidators[3].set("yyyy-MM-dd HH:mm").add("CUST_VISIT_AGAIN_TIME");
initDetailOpertionImage();
</script>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
